package com.yishan.dao;

import com.yishan.domain.Draw;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * @Author yishan
 * @Date 2021/4/28 0028 16:17
 * @Version 1.0
 */
public interface DrawDao {

	int save(Draw draw);

	int delete(String id);

	int update(Draw draw);

	Draw findById(String id);

	List<Draw> findAll();

	List<Draw> findTypeId(@Param("type_id") String id);
}
